import React, { memo } from 'react'
import SelectHeader from '@/components/select-header/select-header'
import SelectRoom from '@/components/select-room/select-room'
const homeRoom = memo((porps) => {
  const { title, list} = porps.goodsPriceInfo
  const { roomwidth } = porps

  return (
    <div>
      <SelectHeader title={ title }></SelectHeader>
      <SelectRoom roomwidth={ roomwidth } list={ list }></SelectRoom>
    </div>
  )
})

export default homeRoom